package com.tosit.bmx.domian;

import java.util.Objects;

public class SecondSub {
    private Integer id;

    private Integer seid;

    private Integer sid;

    private Integer sorder;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSeid() {
        return seid;
    }

    public void setSeid(Integer seid) {
        this.seid = seid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getSorder() {
        return sorder;
    }

    public void setSorder(Integer sorder) {
        this.sorder = sorder;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SecondSub secondSub = (SecondSub) o;
        return Objects.equals(seid, secondSub.seid) &&
                Objects.equals(sid, secondSub.sid);
    }

    @Override
    public int hashCode() {
        return Objects.hash(seid, sid);
    }
}